package com.leo.pojo;


import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 员工类
 */
@Data
@NoArgsConstructor
public class Employee {
    private Integer id;//员工id
    private String lastName;//员工姓名
    private String email;//邮箱
    private Integer gender;//0：女    1：男

    private Department department;//部门
    private Date birth;

    public Employee(Integer id, String lastName, String email, Integer gender, Department department) {
        this.id = id;
        this.lastName = lastName;
        this.email = email;
        this.gender = gender;
        this.department = department;

    }
}
